Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Stale] abcdefx - add fantom #560

Closed
wants to merge 3 commits into from
Closed

[Stale] abcdefx - add fantom #560

wants to merge 3 commits into from

Conversation

ftm1337
Copy link
Contributor

@ftm1337 ftm1337 commented Jun 18, 2023

No description provided.

@llamatester
Copy link

The abcdefx.ts adapter exports:


------ ERROR ------
fees/abcdefx.ts(172,27): error TS6133: 'CHAIN' is declared but its value is never read.
fees/abcdefx.ts(172,32): error TS2418: Type of computed property's value is '{ fetch(CHAIN: number): never; "": any; start: () => Promise<number>; }', which is not assignable to type '{ start: IStartTimestamp; fetch: Fetch; runAtCurrTime?: boolean | undefined; customBackfill?: Fetch | undefined; meta?: { methodology?: string | IJSON<string> | undefined; hallmarks?: [...][] | undefined; } | undefined; }'.
  Object literal may only specify known properties, and '(Missing)' does not exist in type '{ start: IStartTimestamp; fetch: Fetch; runAtCurrTime?: boolean | undefined; customBackfill?: Fetch | undefined; meta?: { methodology?: string | IJSON<string> | undefined; hallmarks?: [...][] | undefined; } | undefined; }'.
fees/abcdefx.ts(173,29): error TS6133: 'CHAIN' is declared but its value is never read.
fees/abcdefx.ts(173,34): error TS2418: Type of computed property's value is '{ fetch(CHAIN: number): never; "": any; start: () => Promise<number>; }', which is not assignable to type '{ start: IStartTimestamp; fetch: Fetch; runAtCurrTime?: boolean | undefined; customBackfill?: Fetch | undefined; meta?: { methodology?: string | IJSON<string> | undefined; hallmarks?: [...][] | undefined; } | undefined; }'.
  Object literal may only specify known properties, and '(Missing)' does not exist in type '{ start: IStartTimestamp; fetch: Fetch; runAtCurrTime?: boolean | undefined; customBackfill?: Fetch | undefined; meta?: { methodology?: string | IJSON<string> | undefined; hallmarks?: [...][] | undefined; } | undefined; }'.
fees/abcdefx.ts(172,32): error TS1005: ',' expected.
fees/abcdefx.ts(172,37): error TS1005: ',' expected.
fees/abcdefx.ts(172,38): error TS1136: Property assignment expected.
fees/abcdefx.ts(173,34): error TS1005: ',' expected.
fees/abcdefx.ts(173,41): error TS1005: ',' expected.
fees/abcdefx.ts(173,42): error TS1136: Property assignment expected.

Done in 3.19s.

@ftm1337 ftm1337 closed this Jun 18, 2023
@ftm1337 ftm1337 reopened this Jun 18, 2023
@llamatester
Copy link

The abcdefx.ts adapter exports:


------ ERROR ------
fees/abcdefx.ts(173,14): error TS2304: Cannot find name 'graph'.
fees/abcdefx.ts(177,14): error TS2304: Cannot find name 'graph'.

Done in 2.96s.

@llamatester
Copy link

The abcdefx.ts adapter exports:


------ ERROR ------
fees/abcdefx.ts(173,14): error TS2304: Cannot find name 'graph'.
fees/abcdefx.ts(177,14): error TS2304: Cannot find name 'graph'.

Done in 3.07s.

@ftm1337 ftm1337 closed this Jun 18, 2023
@ftm1337 ftm1337 reopened this Jun 18, 2023
@llamatester
Copy link

The abcdefx.ts adapter exports:


------ ERROR ------
fees/abcdefx.ts(173,7): error TS2322: Type 'Promise<FetchResultFees>' is not assignable to type 'Fetch'.
  Type 'Promise<FetchResultFees>' provides no match for the signature '(timestamp: number, chainBlocks: { [chain: string]: number; }): Promise<FetchResult>'.
fees/abcdefx.ts(173,14): error TS2554: Expected 2 arguments, but got 1.
fees/abcdefx.ts(177,7): error TS2322: Type 'Promise<FetchResultFees>' is not assignable to type 'Fetch'.
fees/abcdefx.ts(177,14): error TS2554: Expected 2 arguments, but got 1.

Done in 2.98s.

@llamatester
Copy link

The abcdefx.ts adapter exports:


------ ERROR ------
fees/abcdefx.ts(173,7): error TS2322: Type 'Promise<FetchResultFees>' is not assignable to type 'Fetch'.
  Type 'Promise<FetchResultFees>' provides no match for the signature '(timestamp: number, chainBlocks: { [chain: string]: number; }): Promise<FetchResult>'.
fees/abcdefx.ts(173,14): error TS2554: Expected 2 arguments, but got 1.
fees/abcdefx.ts(177,7): error TS2322: Type 'Promise<FetchResultFees>' is not assignable to type 'Fetch'.
fees/abcdefx.ts(177,14): error TS2554: Expected 2 arguments, but got 1.

Done in 3.11s.

@ftm1337 ftm1337 closed this Jun 18, 2023
@ftm1337
Copy link
Contributor Author

ftm1337 commented Jul 1, 2023

Covered by #582

@ftm1337 ftm1337 changed the title [Dont merge] abcdefx - add fantom [Stale] abcdefx - add fantom Jul 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants